<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Add Student Form</title>
</head>
<body>
	{% if form.errors %}
	<p>* There are errors in your submission</p>
	{% endif %}
	
	<form action="" method="post">
		{% csrf_token %}
		<table>
			{{ form.as_table }}			
		</table>
		<input type="submit" value="Submit">
	</form>
	{% if data %}
		<p>{{ data.firstName }}</p>
		<p>{{ data.lastName }}</p>
		<p>{{ data.email }}</p>
	{% endif %}
</body>
</html>